<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="RadGrid.aspx.cs" Inherits="WebForms.Demo_4.RadGrid" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Telerik RadControls for ASP.NET AJAX - RadGrid</title>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder" runat="server">

    <telerik:RadGrid ID="TelerikRadGrid" runat="server" AutoGenerateColumns="false" OnNeedDataSource="TelerikRadGrid_NeedDataSource"
        OnUpdateCommand="TelerikRadGrid_UpdateCommand" OnInsertCommand="TelerikRadGrid_InsertCommand"
        OnDeleteCommand="TelerikRadGrid_DeleteCommand" AllowSorting="true" AllowFilteringByColumn="true"
        AllowPaging="true" PageSize="10" >
        <MasterTableView CommandItemDisplay="Top" EditMode="InPlace" DataKeyNames="CustomerID">
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" />
                <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" />
                <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" />
                <telerik:GridBoundColumn DataField="CompanyName" HeaderText="Company Name" />
                <telerik:GridBoundColumn DataField="Address" HeaderText="Address" />
                <telerik:GridBoundColumn DataField="City" HeaderText="City" />
                <telerik:GridBoundColumn DataField="Country" HeaderText="Country" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>

</asp:Content>
